package com.qianji.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qianji.utils.LimitDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author 钟丽诗
 * @Date 2021.3.12
 */
@ApiModel("抽奖结果属性类")
@Data
public class ConsequenceDto implements Serializable {

    @ApiModelProperty(value = "抽奖结果主键",example = "1")
    private Long id;

    @ApiModelProperty(value = "活动主键",example = "1")
    private Long activeId;

    @ApiModelProperty(value = "第三方主键",example = "1")
    private Long thirdId;

    @ApiModelProperty("奖品图片")
    private String prizeImg;

    @ApiModelProperty("奖品描述")
    private String prizeDescribe;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("状态：0-领取   1-已领取")
    private Integer status;

}
